]> dgit.raspbian.org Git - gnome-shell.git/log
gnome-shell.git
13 years agoSynchronize shell startup
Jasper St. Pierre [Mon, 4 Nov 2013 15:07:44 +0000 (10:07 -0500)]
Synchronize shell startup

The asynchronous nature of extension loading, session loading, and more,
makes the code racy as to what is initialized first, and hard to debug.
Additionally, since gjs is single-threaded, the only code we're running
in a thread anyway is readdir, which is going to be I/O bound, so the
code here is actually likely to be faster.

Drop this in favor of some good old fashioned synchronous loading.

13 years agonotificationDaemon: Only store policies for "real" apps
Jasper St. Pierre [Mon, 4 Nov 2013 16:45:22 +0000 (11:45 -0500)]
notificationDaemon: Only store policies for "real" apps

Fake, window-backed apps should not have a policy for them.

13 years agoscreenShield: Fix details in notifications
Florian Müllner [Mon, 4 Nov 2013 14:55:40 +0000 (15:55 +0100)]
screenShield: Fix details in notifications

bannerBodyMarkup is a boolean flag to indicate that bannerBodyText
contains markup, not the markup text itself.

https://bugzilla.gnome.org/show_bug.cgi?id=711416

13 years agoscreencast: Validate parameters of ScreencastArea
Florian Müllner [Mon, 4 Nov 2013 13:09:19 +0000 (14:09 +0100)]
screencast: Validate parameters of ScreencastArea

... just as we do for screenshots.

https://bugzilla.gnome.org/show_bug.cgi?id=699752

13 years agoscreencast: Fix disabling screencasts via session mode
Florian Müllner [Mon, 4 Nov 2013 13:06:33 +0000 (14:06 +0100)]
screencast: Fix disabling screencasts via session mode

If screencasts are disabled, we return a DBus error, but still start
the recording happily - add early returns in that case.

https://bugzilla.gnome.org/show_bug.cgi?id=699752

13 years agoscreenshot: Extend ScreenshotArea parameter validation
Florian Müllner [Mon, 4 Nov 2013 10:14:44 +0000 (11:14 +0100)]
screenshot: Extend ScreenshotArea parameter validation

We currently only ensure that width and height are positive, so it
is still possible to pass in values that don't make any sense at all
(which may even result in a crash when exceeding limits imposed by
X11).
There is nothing to screenshot outside the actual screen area, so
restrict the parameters to that.

https://bugzilla.gnome.org/show_bug.cgi?id=699752

13 years agonetworkAgent: Make sure to update the OK button on dialog pop up
Jasper St. Pierre [Sun, 3 Nov 2013 21:10:11 +0000 (16:10 -0500)]
networkAgent: Make sure to update the OK button on dialog pop up

For consistency.

13 years agoworkspace: Remove unused includes and constants
Florian Müllner [Mon, 4 Nov 2013 09:21:59 +0000 (10:21 +0100)]
workspace: Remove unused includes and constants

13 years agoUpdated Greek translation
Efstathios Iosifidis [Mon, 4 Nov 2013 08:53:08 +0000 (10:53 +0200)]
Updated Greek translation

13 years agoapp-system: Fix memory leak
Jasper St. Pierre [Sun, 3 Nov 2013 21:18:39 +0000 (16:18 -0500)]
app-system: Fix memory leak

The shell app takes a ref on the info.

13 years agoapp-system: Fix bad code
Jasper St. Pierre [Sun, 3 Nov 2013 21:19:35 +0000 (16:19 -0500)]
app-system: Fix bad code

I had this locally, but forgot to amend before pushing apparently

13 years agoapp-system: Fix const warning
Jasper St. Pierre [Sun, 3 Nov 2013 17:50:21 +0000 (12:50 -0500)]
app-system: Fix const warning

13 years agoapp-system: Fix the keys in the id_to_app table
Jasper St. Pierre [Sun, 3 Nov 2013 17:10:00 +0000 (12:10 -0500)]
app-system: Fix the keys in the id_to_app table

The ID that's passed to us isn't usable as a key to store, as it's
probably junk after the method returns. Use the app's storage for
the ID instead.

13 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Sun, 3 Nov 2013 15:03:44 +0000 (16:03 +0100)]
Updated Norwegian bokmål translation

13 years agoapp-system: Lazily create ShellApps for apps we care about
Jasper St. Pierre [Thu, 26 Sep 2013 21:06:47 +0000 (17:06 -0400)]
app-system: Lazily create ShellApps for apps we care about

Rather than create all ShellApps up-front, create them lazily. We really
had no reason to do this before as we were scanning GMenu to get all the
apps, but doing this can remove a need for get_all, which is slow and
memory-hungry.

13 years agoapp-system: Remove use of gnome-menus internally
Jasper St. Pierre [Sun, 21 Apr 2013 04:05:50 +0000 (00:05 -0400)]
app-system: Remove use of gnome-menus internally

We want to transition to a system in the future where we have a desktop
file cache. As we no longer differentiate categories or similar, it no
longer makes sense to have app visibility based on categories. Thus,
we no longer need to use gnome-menus to list all apps. The potential
issue here is reloading all desktop files when new files are created,
but this can be dealt with individually.

The "All Applications" view still uses gnome-menus.

https://bugzilla.gnome.org/show_bug.cgi?id=698486

13 years agoappDisplay: Ignore the NoDisplay flag for directories
Jasper St. Pierre [Sat, 20 Apr 2013 22:57:03 +0000 (18:57 -0400)]
appDisplay: Ignore the NoDisplay flag for directories

This makes us match the native app search.

https://bugzilla.gnome.org/show_bug.cgi?id=698486

13 years agoapp-system: Remove visible_id_to_app
Jasper St. Pierre [Sat, 20 Apr 2013 22:55:35 +0000 (18:55 -0400)]
app-system: Remove visible_id_to_app

Since appDisplay.js makes its own GMenu tree, it's not necessary
anymore. This does mean that searches will show apps in NoDisplay
categories, but that's an obscure enough edge case not to matter.

https://bugzilla.gnome.org/show_bug.cgi?id=698486

13 years agoapp-system: Remove lookup_app_for_path
Jasper St. Pierre [Sat, 20 Apr 2013 21:23:37 +0000 (17:23 -0400)]
app-system: Remove lookup_app_for_path

It's absurdly silly. Just modify the one place that uses it
to be better.

https://bugzilla.gnome.org/show_bug.cgi?id=698486

13 years agoapp-system: Remove known_vendor_prefixes
Jasper St. Pierre [Sat, 20 Apr 2013 21:15:10 +0000 (17:15 -0400)]
app-system: Remove known_vendor_prefixes

This does remove support for legacy prefixed app infos with
subdirs, but since we want to remove support for the menu spec,
let's not even bother.

https://bugzilla.gnome.org/show_bug.cgi?id=698486

13 years agoapp-system: Remove get_tree
Jasper St. Pierre [Sat, 20 Apr 2013 20:57:10 +0000 (16:57 -0400)]
app-system: Remove get_tree

Make clients construct their own gmenu tree if they need it.

https://bugzilla.gnome.org/show_bug.cgi?id=698486

13 years agoapp-system: Map wmclass to ID rather than apps
Jasper St. Pierre [Wed, 2 Oct 2013 22:16:45 +0000 (18:16 -0400)]
app-system: Map wmclass to ID rather than apps

This makes the refcounting and memory management easier to understand.

13 years agoapp-system: Don't use gmenu_tree_entry_get_desktop_app_info
Jasper St. Pierre [Wed, 2 Oct 2013 22:22:07 +0000 (18:22 -0400)]
app-system: Don't use gmenu_tree_entry_get_desktop_app_info

It's a broken method when it comes to giving us a useful GDesktopAppInfo,
and it's hard to fix libgmenu properly, so simply recreate the app info
using the desktop file ID that libgmenu has.

13 years agoapp: Port to be based on GDesktopAppInfo
Jasper St. Pierre [Sat, 9 Feb 2013 03:52:25 +0000 (22:52 -0500)]
app: Port to be based on GDesktopAppInfo

We weren't using the GMenuTreeEntry for anything special anymore,
so remove it.

https://bugzilla.gnome.org/show_bug.cgi?id=698486

13 years agoapp-system: Remove lookup_app_by_tree_entry
Jasper St. Pierre [Sat, 9 Feb 2013 03:54:50 +0000 (22:54 -0500)]
app-system: Remove lookup_app_by_tree_entry

We want to move away from gnome-menus eventually, so the simple
utility method isn't really worth keeping around. Reimplement it
in the one place that uses it.

https://bugzilla.gnome.org/show_bug.cgi?id=698486

13 years agosearch: Fix previous commit
Jasper St. Pierre [Sun, 3 Nov 2013 00:09:14 +0000 (20:09 -0400)]
search: Fix previous commit

It was pushed by accident before it was tested...

13 years agosearch: Make the internal search interface callback-based
Jasper St. Pierre [Sat, 2 Nov 2013 23:45:35 +0000 (19:45 -0400)]
search: Make the internal search interface callback-based

Long ago, the search system worked in a synchronous manner: providers
were given a query, and results were collected in a single array of
[provider, results] pairs, and then the search display was updated
from that.

We introduced an asynchronous search system when we wanted to potentially
add a Zeitgeist search provider to the Shell in 3.2. For a while, search
providers were either async or sync, which worked by storing a dummy array
in the results, and adding a method for search providers to add results
later.

Later, we removed the search system entirely and ported the remaining
search providers to simply use the API to modify the empty array, but the
remains of the synchronous search system with its silly array still
lingered.

Finally, it's time to modernize. Promises^WCallbacks are the future.

Port the one remaining in-shell search engine (app search) to the new
callback based system, and simplify the remote search system in the
process.

13 years agoremoteSearch: Do filtering here of providers here
Jasper St. Pierre [Sat, 2 Nov 2013 22:03:52 +0000 (18:03 -0400)]
remoteSearch: Do filtering here of providers here

We already do ordering at load time, so why not filtering?

13 years agooverviewControls: Fix bad expression causing incorrect thumbnails allocation
Jasper St. Pierre [Sun, 3 Nov 2013 00:06:29 +0000 (20:06 -0400)]
overviewControls: Fix bad expression causing incorrect thumbnails allocation

`a + b ? c : d` is parsed as `(a + b) ? c : d`, not the more intuitive
`a + (b ? c : d)`.

This was causing a bad slide animation and Clutter warnings when coming
out of the overview.

13 years agosearch: Remove unnecessary import and full reference
Jasper St. Pierre [Sat, 2 Nov 2013 22:01:26 +0000 (18:01 -0400)]
search: Remove unnecessary import and full reference

I'm surprised this worked, actually...

13 years agobluetooth: Parse pins starting with 0 correctly
Jasper St. Pierre [Sat, 2 Nov 2013 21:55:48 +0000 (17:55 -0400)]
bluetooth: Parse pins starting with 0 correctly

If we have a numeric PIN that starts with 0, it will be treated
as an octal number rather than a number that just starts with 0.

13 years agoUpdated Russian translation
Yuri Myasoedov [Fri, 1 Nov 2013 19:32:39 +0000 (23:32 +0400)]
Updated Russian translation

13 years agosystem: Restore support for 'disable-restart-buttons'
Florian Müllner [Fri, 1 Nov 2013 03:33:10 +0000 (04:33 +0100)]
system: Restore support for 'disable-restart-buttons'

The org.gnome.login-screen schema contains a key to disable the
power/restart buttons; our support for this fell victim to the
new combined status menu, add it back.

https://bugzilla.gnome.org/show_bug.cgi?id=711244

13 years agoSupport disabling browser plugin
Colin Walters [Thu, 31 Oct 2013 16:02:01 +0000 (12:02 -0400)]
Support disabling browser plugin

Some downstreams may not want it for security reasons.

https://bugzilla.gnome.org/show_bug.cgi?id=711218

13 years agosearch: Hide overview when activating result
Florian Müllner [Thu, 31 Oct 2013 15:59:23 +0000 (15:59 +0000)]
search: Hide overview when activating result

This was (accidentally?) dropped by commit 3749b093666bf4e6f4.

https://bugzilla.gnome.org/show_bug.cgi?id=711205

13 years agoshell_global_reexec_self: add support for OpenBSD
Antoine Jacoutot [Thu, 31 Oct 2013 10:46:59 +0000 (11:46 +0100)]
shell_global_reexec_self: add support for OpenBSD

https://bugzilla.gnome.org/show_bug.cgi?id=709571

13 years agobuild: Make sure built-sources are introspected as needed
Rico Tzschichholz [Wed, 30 Oct 2013 23:01:38 +0000 (00:01 +0100)]
build: Make sure built-sources are introspected as needed

13 years agoRevert "overviewControls: Always allocate the actor its full size"
Jasper St. Pierre [Wed, 30 Oct 2013 22:32:26 +0000 (18:32 -0400)]
Revert "overviewControls: Always allocate the actor its full size"

This reverts commit f5a9dbb348632864095179f5f88a6fef9707e7c7.

This broke the alignment of the workspace thumbnail widget. I don't
know why, but let's not break things if we can...

13 years agost-theme: Use constructed instead of constructor
Jasper St. Pierre [Wed, 30 Oct 2013 22:26:21 +0000 (18:26 -0400)]
st-theme: Use constructed instead of constructor

13 years agobuild: Do not ship generated source-files in tarball
Rico Tzschichholz [Wed, 30 Oct 2013 22:29:45 +0000 (23:29 +0100)]
build: Do not ship generated source-files in tarball

13 years agoworkspacesView: Make sure to update workspace actors when entering the overview
Jasper St. Pierre [Wed, 30 Oct 2013 22:19:18 +0000 (18:19 -0400)]
workspacesView: Make sure to update workspace actors when entering the overview

Otherwise, they will be in the wrong positions.

13 years agosearch: Fix Return for searching in the overview
Jasper St. Pierre [Wed, 30 Oct 2013 21:42:49 +0000 (17:42 -0400)]
search: Fix Return for searching in the overview

13 years agobuild: Also look for generated js-resources.* files in builddir
Rico Tzschichholz [Wed, 30 Oct 2013 20:41:52 +0000 (21:41 +0100)]
build: Also look for generated js-resources.* files in builddir

13 years agobuild: Also look for resources in $(builddir)
Colin Walters [Wed, 30 Oct 2013 18:00:58 +0000 (14:00 -0400)]
build: Also look for resources in $(builddir)

Since misc/config.js is built, we need to tell the resource compiler
to find it too.

Fixes the build in Continuous where srcdir != builddir.

13 years agoLoad JS from GResource
Cosimo Cecchi [Tue, 2 Jul 2013 06:54:53 +0000 (23:54 -0700)]
Load JS from GResource

Since gjs can now load JS from a GResource, compile it in the
gnome-shell binary. This should be a bit faster, and make life easier
with JHBuild.

13 years agodnd: Don't use reparent for adding actors to the uiGroup
Jasper St. Pierre [Mon, 26 Aug 2013 23:14:35 +0000 (19:14 -0400)]
dnd: Don't use reparent for adding actors to the uiGroup

It's deprecated, terrible, and causes get_theme_node crashes.

13 years agologinDialog: Use UserWidget
Jasper St. Pierre [Mon, 26 Aug 2013 22:41:29 +0000 (18:41 -0400)]
loginDialog: Use UserWidget

https://bugzilla.gnome.org/show_bug.cgi?id=706851

13 years agouserWidget: Use the user name if the real name doesn't fit
Jasper St. Pierre [Mon, 26 Aug 2013 22:36:16 +0000 (18:36 -0400)]
userWidget: Use the user name if the real name doesn't fit

This meets the new designs.

https://bugzilla.gnome.org/show_bug.cgi?id=706851

13 years agoworkspacesView: Simplify the workspacesOnlyOnPrimary implementation
Jasper St. Pierre [Wed, 11 Sep 2013 16:12:42 +0000 (12:12 -0400)]
workspacesView: Simplify the workspacesOnlyOnPrimary implementation

Before, workspacesOnlyOnPrimary was implemented in quite a crazy manner:

 * If workspacesOnlyOnPrimary was false, we'd create one WorkspacesView per
   monitor, with the primary one being a bit special.

 * If workspacesOnlyOnPrimary was true, we'd create one WorkspacesView, and
   additional montiors would be handled inside that WorkspacesView as
   "extra workspaces".

This caused numerous bugs as the two modes weren't consistently
implemented, and a lot of code was duplicated between all the modes.
Fix this by always creating WorkspaceViews, even if it only handles
one interface. We do this by having two different WorkspacesView-ish
classes: WorkspacesView handles the traditional combination of lots
of workspces, and a new ExtraWorkspaceView is in control of only one
workspace.

13 years agoworkspacesView: Make each WorkspacesView own its set of workspaces
Jasper St. Pierre [Wed, 11 Sep 2013 14:09:13 +0000 (10:09 -0400)]
workspacesView: Make each WorkspacesView own its set of workspaces

Right now, the workspace update code is complex and spread across parts:
WorkspacesView takes a set of workspaces and looks like it owns them, but
WorkspacesDisplay is actually in charge of setting them up and creating
new ones for each WorkspacesView.

Change initialization and handling to move all of the creation/destruction
responsibilities to WorkspacesView.

We pass in monitorIndex into each WorkspacesView, which is a lie in the
workspacesOnlyOnPrimary case, as the primary WorkspacesView currently has
the responsibility of handling the extra workspaces on all the other
monitors. The commit will clean this up and punt the responsibility back
to WorkspacesDisplay.

13 years agoworkspacesView: Don't tween the upper of our scroll adjustment
Jasper St. Pierre [Wed, 11 Sep 2013 15:47:56 +0000 (11:47 -0400)]
workspacesView: Don't tween the upper of our scroll adjustment

This really doesn't make sense. The new upper should be the new workspace
index as soon as it's available.

13 years agoworkspacesView: Don't zoom into the overview based on a signal
Jasper St. Pierre [Wed, 11 Sep 2013 19:30:13 +0000 (15:30 -0400)]
workspacesView: Don't zoom into the overview based on a signal

Instead, simply have somebody else call us, like we do for hiding
the overview as well.

13 years agoworkspacesView: Don't use a drag monitor to get the clone
Jasper St. Pierre [Wed, 11 Sep 2013 17:35:17 +0000 (13:35 -0400)]
workspacesView: Don't use a drag monitor to get the clone

Just use the new variable passed to the signal.

13 years agoworkspacesView: Don't do any special handling for item-dragging
Jasper St. Pierre [Wed, 11 Sep 2013 18:21:29 +0000 (14:21 -0400)]
workspacesView: Don't do any special handling for item-dragging

The code here really only cares about new windows.

13 years agooverview: Send the clone with the window-drag events
Jasper St. Pierre [Wed, 11 Sep 2013 18:20:39 +0000 (14:20 -0400)]
overview: Send the clone with the window-drag events

This allows clients that care about the actual item we're dragging to
make smarter decisions without adding a drag monitor themselves.

13 years agoworkspace: Punt the geometry-fizzling-out logic here
Jasper St. Pierre [Wed, 11 Sep 2013 14:41:54 +0000 (10:41 -0400)]
workspace: Punt the geometry-fizzling-out logic here

13 years agoworkspacesView: Remove spacing
Jasper St. Pierre [Wed, 11 Sep 2013 20:21:40 +0000 (16:21 -0400)]
workspacesView: Remove spacing

It's not used in the theme and it complicates the layout code a bit
too much; in fact, if set, things start breaking.

13 years agooverviewControls: Move translation-x to SlideLayout
Jasper St. Pierre [Wed, 18 Sep 2013 23:59:02 +0000 (19:59 -0400)]
overviewControls: Move translation-x to SlideLayout

Not because ClutterActor is bad or wrong, but because I always get
confused on the difference, and having them both in SlideLayout
makes the code a bit easier to read and understand.

13 years agooverviewControls: Always allocate the actor its full size
Jasper St. Pierre [Wed, 18 Sep 2013 23:29:30 +0000 (19:29 -0400)]
overviewControls: Always allocate the actor its full size

This is the new Clutter way -- if the actor wants to adjust its
alignment, it will do it itself with its alignment flags.

13 years agooverviewControls: Make getSlide/updateSlide private
Jasper St. Pierre [Wed, 18 Sep 2013 23:22:54 +0000 (19:22 -0400)]
overviewControls: Make getSlide/updateSlide private

13 years agooverviewControls: Make visible and inDrag private
Jasper St. Pierre [Wed, 18 Sep 2013 23:06:56 +0000 (19:06 -0400)]
overviewControls: Make visible and inDrag private

These don't need to be accessed from outside SlidingControl,
so don't let them be.

13 years agooverviewControls: Move slideOut on overview hide to the parent as well
Jasper St. Pierre [Wed, 18 Sep 2013 23:13:35 +0000 (19:13 -0400)]
overviewControls: Move slideOut on overview hide to the parent as well

13 years agooverviewControls: Remove dead code
Jasper St. Pierre [Wed, 18 Sep 2013 23:05:42 +0000 (19:05 -0400)]
overviewControls: Remove dead code

The parent SlidingControl had an onOverviewShowing, but we had
overridden it with the same code in both subclasses. Just move it
back to SlidingControl.

13 years agooverviewControls: Mark the DashSlider as x_expand
Jasper St. Pierre [Wed, 18 Sep 2013 23:40:38 +0000 (19:40 -0400)]
overviewControls: Mark the DashSlider as x_expand

Actors need to expand in order for them to their x_aligns to be taken
into account.

13 years agooverviewControls: Add the parent's box into the allocation
Jasper St. Pierre [Mon, 21 Oct 2013 21:51:50 +0000 (17:51 -0400)]
overviewControls: Add the parent's box into the allocation

Currently, this is always 0, but this will change when we introduce
a custom layout manager into the story.

13 years agosearch: Fix adding items to icon grids
Jasper St. Pierre [Wed, 30 Oct 2013 17:06:56 +0000 (13:06 -0400)]
search: Fix adding items to icon grids

13 years agoiconGrid: Actually throw programmer errors
Jasper St. Pierre [Wed, 30 Oct 2013 17:05:20 +0000 (13:05 -0400)]
iconGrid: Actually throw programmer errors

This way we get a backtrace.

13 years agosearchDisplay: Cache result display actors
Jasper St. Pierre [Fri, 8 Feb 2013 23:59:15 +0000 (18:59 -0500)]
searchDisplay: Cache result display actors

When we create a result actor, cache it, so it can be used for
subsearches of the same initial. For now, to keep memory usage
and the stage graph relatively clean, don't persist the actors
across searches, but maybe we should do this in the future.

This also means that we don't query getResultMetas for items
that we've seen in the same initial search.

https://bugzilla.gnome.org/show_bug.cgi?id=704912

13 years agosearchDisplay: Make the search result actors stateless, by removing terms
Jasper St. Pierre [Sat, 9 Feb 2013 00:04:24 +0000 (19:04 -0500)]
searchDisplay: Make the search result actors stateless, by removing terms

We want to cache result actors between searches, so we shouldn't
instantiate them with search-specific info.

https://bugzilla.gnome.org/show_bug.cgi?id=704912

13 years agoappDisplay: Use a proper string key for the app search provider
Jasper St. Pierre [Sat, 9 Feb 2013 03:08:13 +0000 (22:08 -0500)]
appDisplay: Use a proper string key for the app search provider

Since we're going to be caching results based on the result ID,
we need to return a string-based result ID to cache on.

https://bugzilla.gnome.org/show_bug.cgi?id=704912

13 years agoviewSelector: Move all of the provider-loading logic to SearchSystem
Jasper St. Pierre [Wed, 30 Oct 2013 16:38:46 +0000 (12:38 -0400)]
viewSelector: Move all of the provider-loading logic to SearchSystem

The existing provider system is split between a confusing mess of
RemoteSearch, SearchSystem, SearchDisplay, and ViewSelector, partly
because of the vestigal in-shell search system. Move most of the
logic to search.js so it's easier to read.

13 years agosearch: Always fetch the list of search providers
Jasper St. Pierre [Tue, 29 Oct 2013 20:13:32 +0000 (16:13 -0400)]
search: Always fetch the list of search providers

We fetch and store the list of providers from the search system when we
construct SearchResults, but we never update this list when providers are
changed at runtime, causing various bugs making the search not seem as
snappy as it should be. Make sure to always fetch the list of providers
from the search system.

13 years agoBump version to 3.11.1
Florian Müllner [Wed, 30 Oct 2013 16:04:40 +0000 (17:04 +0100)]
Bump version to 3.11.1

Update NEWS.

13 years agonotificationDaemon: Save notifications on source destruction
Florian Müllner [Mon, 28 Oct 2013 10:26:17 +0000 (11:26 +0100)]
notificationDaemon: Save notifications on source destruction

While the existing comment is correct in that a source's notifications
will be destroyed first, the code takes a shortcut which prevents the
Source::count-updated signal from being emitted. Given that the purpose
of the signal is to keep notification counters up-to-date which is
pointless when the source is about to be destroyed, the shortcut makes
sense; just save notifications explicitly in that case.

https://bugzilla.gnome.org/show_bug.cgi?id=710596

13 years agolookingGlass: Remove Memory tab and add a gc Icon to toolbar
Tim Lunn [Tue, 29 Oct 2013 05:55:24 +0000 (16:55 +1100)]
lookingGlass: Remove Memory tab and add a gc Icon to toolbar

With js24 it won't be possible to access gjs memory stats from C code.

https://bugzilla.gnome.org/show_bug.cgi?id=711052

13 years agoremove direct access to jsapi
Tim Lunn [Tue, 29 Oct 2013 07:12:10 +0000 (18:12 +1100)]
remove direct access to jsapi

with js24 its not possible to access jsapi directly from C code

https://bugzilla.gnome.org/show_bug.cgi?id=711052

13 years agoport shell-js to c++
Tim Lunn [Sun, 6 Oct 2013 08:21:50 +0000 (19:21 +1100)]
port shell-js to c++

https://bugzilla.gnome.org/show_bug.cgi?id=711052

13 years agoMerge searchDisplay.js and search.js
Jasper St. Pierre [Tue, 29 Oct 2013 19:49:05 +0000 (15:49 -0400)]
Merge searchDisplay.js and search.js

search.js used to do a lot more, but now that most of the
functionality has been moved to the remote search system,
it doesn't do a lot. Merge searchDisplay.js into it.

13 years agosearch: Actually crash when seeing errors from a native search provider
Jasper St. Pierre [Fri, 26 Jul 2013 03:08:27 +0000 (23:08 -0400)]
search: Actually crash when seeing errors from a native search provider

We don't implement many of these, and not catching the error lets us
see stack traces and other such information a lot faster.

https://bugzilla.gnome.org/show_bug.cgi?id=704912

13 years agoRemove wanda
Jasper St. Pierre [Tue, 29 Oct 2013 19:44:52 +0000 (15:44 -0400)]
Remove wanda

It's been broken for quite a bit since we removed Panel.Animation,
and hasn't really ever worked with our new search results. It's also
the only non-remote provider left.

Maybe we'll add it back as a remote provider later, but for now, just
ditch it.

13 years agonotificationDaemon: Fix custom icons
Florian Müllner [Sun, 27 Oct 2013 10:32:27 +0000 (11:32 +0100)]
notificationDaemon: Fix custom icons

The 'icon' property contains a serialized GIcon, so we need to
deserialize it when setting the icon.

https://bugzilla.gnome.org/show_bug.cgi?id=710596

13 years agonotificationDaemon: Fix urgency hint
Florian Müllner [Sun, 27 Oct 2013 10:16:14 +0000 (11:16 +0100)]
notificationDaemon: Fix urgency hint

We currently mark notifications as urgent which merely contain the
'urgent' property, even when set to false. Look at the actual value
instead.

https://bugzilla.gnome.org/show_bug.cgi?id=710596

13 years agoUpdated Brazilian Portuguese translation
Rafael Ferreira [Sun, 27 Oct 2013 17:45:09 +0000 (15:45 -0200)]
Updated Brazilian Portuguese translation

Fixes "Off" translation

13 years agoUpdated Hebrew translation
Yosef Or Boczko [Sun, 27 Oct 2013 14:40:28 +0000 (16:40 +0200)]
Updated Hebrew translation

Maybe DL not updated?

13 years agonotificationDaemon: Fix button parameter name
Florian Müllner [Sat, 26 Oct 2013 02:40:22 +0000 (04:40 +0200)]
notificationDaemon: Fix button parameter name

Gio ended up using 'target' rather than 'action-target'.

https://bugzilla.gnome.org/show_bug.cgi?id=710596

13 years agonotificationDaemon: Unpack button label
Florian Müllner [Sat, 26 Oct 2013 02:38:42 +0000 (04:38 +0200)]
notificationDaemon: Unpack button label

deep_unpack() doesn't unpack as deeply as one might hope ...

https://bugzilla.gnome.org/show_bug.cgi?id=710596

13 years agocatch more errors on extensions enable() and disable()
Sebastien Lafargue [Fri, 25 Oct 2013 13:28:11 +0000 (15:28 +0200)]
catch more errors on extensions enable() and disable()

https://bugzilla.gnome.org/show_bug.cgi?id=688331

13 years agoAltTabSwitcherPopup: check the number of items after creating the popup child
Sebastien Lafargue [Fri, 25 Oct 2013 17:02:59 +0000 (19:02 +0200)]
AltTabSwitcherPopup: check the number of items after creating the popup child

The popup can be empty if the alt-tab switcher is configured
in workspace-only mode, even if there are applications running.

https://bugzilla.gnome.org/show_bug.cgi?id=710745

13 years agoneed space between item in endsession dialog session-list and app-list
Sebastien Lafargue [Sun, 20 Oct 2013 13:03:18 +0000 (15:03 +0200)]
need space between item in endsession dialog session-list and app-list

https://bugzilla.gnome.org/show_bug.cgi?id=710543

13 years agoRemoteSearch: don't autostart dbus search providers at login
Giovanni Campagna [Thu, 26 Sep 2013 11:22:22 +0000 (13:22 +0200)]
RemoteSearch: don't autostart dbus search providers at login

Use the new glib flag that allows us to create the proxy immediately
but only activate the service when making the first call.

https://bugzilla.gnome.org/show_bug.cgi?id=708830

13 years agoNotificationDaemon: fix more fallout
Giovanni Campagna [Tue, 22 Oct 2013 22:20:04 +0000 (00:20 +0200)]
NotificationDaemon: fix more fallout

Missing Gtk import for action-icon buttons.

https://bugzilla.gnome.org/show_bug.cgi?id=710596

13 years agonotificationDaemon: Pass the correct id to makeButton()
Florian Müllner [Tue, 22 Oct 2013 00:03:10 +0000 (02:03 +0200)]
notificationDaemon: Pass the correct id to makeButton()

The function expects the action's ID, not the notification's one.

https://bugzilla.gnome.org/show_bug.cgi?id=710596

13 years agoFix fallout from notification changes
Florian Müllner [Mon, 21 Oct 2013 23:30:14 +0000 (01:30 +0200)]
Fix fallout from notification changes

Commit 5f081b8f8d5c4 moved code without moving a helper function
used.

https://bugzilla.gnome.org/show_bug.cgi?id=710596

13 years agotheme: Add some vertical padding on login screen
Florian Müllner [Thu, 24 Oct 2013 15:33:51 +0000 (16:33 +0100)]
theme: Add some vertical padding on login screen

This was apparently lost during some rewrite this cycle ...

https://bugzilla.gnome.org/show_bug.cgi?id=710555

13 years agoStringify the xml definitions for E4X removal
Tim Lunn [Thu, 24 Oct 2013 21:51:58 +0000 (08:51 +1100)]
Stringify the xml definitions for E4X removal

https://bugzilla.gnome.org/show_bug.cgi?id=691409

13 years agoBackground: Drop "saturation" related source
Rico Tzschichholz [Wed, 18 Sep 2013 11:45:23 +0000 (13:45 +0200)]
Background: Drop "saturation" related source

"saturation" was removed from MetaBackground in mutter with
https://git.gnome.org/browse/mutter/commit/?id=0e589061

13 years agoshell-app: Remove old unused functionality
Jasper St. Pierre [Mon, 14 Oct 2013 13:38:40 +0000 (09:38 -0400)]
shell-app: Remove old unused functionality

13 years agonotificationDaemon: Fix activating with a target
Jasper St. Pierre [Mon, 21 Oct 2013 20:21:22 +0000 (16:21 -0400)]
notificationDaemon: Fix activating with a target

Targets should not be unpacked, and action IDs should.

13 years agonotificationDaemon: Fix loading/saving of notifications
Jasper St. Pierre [Mon, 21 Oct 2013 20:02:03 +0000 (16:02 -0400)]
notificationDaemon: Fix loading/saving of notifications

13 years agonotificationDaemon: Write notifications out to disk
Jasper St. Pierre [Sun, 13 Oct 2013 22:52:37 +0000 (18:52 -0400)]
notificationDaemon: Write notifications out to disk

This allows notifications to persist even after reboots and
gnome-shell restarts.

https://bugzilla.gnome.org/show_bug.cgi?id=710137